HillshadeLayer

Client-side hillshading visualization based on DEM data. Currently, the implementation only supports Mapbox Terrain RGB and Mapzen Terrarium tiles.

See also

<a href="https://www.mapbox.com/mapbox-gl-style-spec/#layers-hillshade">The online documentation</a>

Constructors

Link copied to clipboard
open fun HillshadeLayer(layerId: String, sourceId: String)
Creates a HillshadeLayer.

Functions

Link copied to clipboard
Get the HillshadeAccentColor property
Link copied to clipboard
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
Link copied to clipboard
Get the HillshadeAccentColor property transition options
Link copied to clipboard
Get the HillshadeExaggeration property
Link copied to clipboard
Get the HillshadeExaggeration property transition options
Link copied to clipboard
Get the HillshadeHighlightColor property
Link copied to clipboard
The shading color of areas that faces towards the light source.
Link copied to clipboard
Get the HillshadeHighlightColor property transition options
Link copied to clipboard
Get the HillshadeIlluminationAnchor property
Link copied to clipboard
Get the HillshadeIlluminationDirection property
Link copied to clipboard
Get the HillshadeShadowColor property
Link copied to clipboard
The shading color of areas that face away from the light source.
Link copied to clipboard
Get the HillshadeShadowColor property transition options
Link copied to clipboard
open fun getId(): String
Link copied to clipboard
open fun getMaxZoom(): Float
Link copied to clipboard
open fun getMinZoom(): Float
Link copied to clipboard
Get the source id.
Link copied to clipboard
Link copied to clipboard
open fun isDetached(): Boolean
Link copied to clipboard
open fun setDetached()
Link copied to clipboard
Set the HillshadeAccentColor property transition options
Link copied to clipboard
Set the HillshadeExaggeration property transition options
Link copied to clipboard
Set the HillshadeHighlightColor property transition options
Link copied to clipboard
Set the HillshadeShadowColor property transition options
Link copied to clipboard
open fun setMaxZoom(zoom: Float)
Link copied to clipboard
open fun setMinZoom(zoom: Float)
Link copied to clipboard
open fun setProperties(@NonNull properties: Array<PropertyValue<out Any>>)
Link copied to clipboard
open fun setSourceLayer(sourceLayer: String)
Set the source layer.
Link copied to clipboard
Set a property or properties.
Link copied to clipboard
Set the source Layer.

Properties

Link copied to clipboard
open val nativePtr: Long